export interface AuthParamsModel {
  moduleId: number;
  userFlag: number;
  flagDesc: string;
  summary: string;
  roleIds: [string, number];
}

export interface ActionParamsModel {
  moduleId: string | number;
  handleId: string | number;
  handleCode?: string;
  right?: string;
  summary: string;
}

export interface MenuItemModel {
  module: any;
  moduleUserTypes: AuthParamsModel[];
  usingHandles: ActionParamsModel[];
}

export interface MenuTreeModel {
  id: number;
  name: string;
  parentId: number;
  weight: number;
  children?: MenuTreeModel[];
  key?: string | number;
  title?: any;
}

export interface ModuleRoleModel {
  tree: any[];
  checkedKeys: any[];
}
